
//#define RTX
#if defined (RTX)
void systick_init(void)
{
  ;
}

#else
#include "devSystick.h"

void systick_init(void)
{
  if (SysTick_Config(SystemCoreClock / 1000)){ 
    /* Capture error */ 
    while (1);
  }
}

// 1ms
void SysTick_Handler(void)
{

}

#endif

